package com.x52im.rainbowchat.http.logic.dto;

import java.sql.Timestamp;
import java.util.Objects;

public class AlipayCashDTO {
    private int id;
    private String alipayUserId;
    private int userUid;
    private String outBizNo;
    private String transAmount;
    private String productCode;
    private String bizScene;
    private String identityType;
    private String identity;
    private String name;
    private String orderTitle;
    private String remark;
    private String businessParams;
    private Timestamp createDate;
    private String orderId;
    private String payFundOrderId;
    private String status;
    private Timestamp transDate;

    public String getPayPsw() {
        return payPsw;
    }

    public void setPayPsw(String payPsw) {
        this.payPsw = payPsw;
    }

    private String payPsw;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAlipayUserId() {
        return alipayUserId;
    }

    public void setAlipayUserId(String alipayUserId) {
        this.alipayUserId = alipayUserId;
    }

    public int getUserUid() {
        return userUid;
    }

    public void setUserUid(int userUid) {
        this.userUid = userUid;
    }

    public String getOutBizNo() {
        return outBizNo;
    }

    public void setOutBizNo(String outBizNo) {
        this.outBizNo = outBizNo;
    }

    public String getTransAmount() {
        return transAmount;
    }

    public void setTransAmount(String transAmount) {
        this.transAmount = transAmount;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getBizScene() {
        return bizScene;
    }

    public void setBizScene(String bizScene) {
        this.bizScene = bizScene;
    }

    public String getIdentityType() {
        return identityType;
    }

    public void setIdentityType(String identityType) {
        this.identityType = identityType;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOrderTitle() {
        return orderTitle;
    }

    public void setOrderTitle(String orderTitle) {
        this.orderTitle = orderTitle;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getBusinessParams() {
        return businessParams;
    }

    public void setBusinessParams(String businessParams) {
        this.businessParams = businessParams;
    }

    public Timestamp getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Timestamp createDate) {
        this.createDate = createDate;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getPayFundOrderId() {
        return payFundOrderId;
    }

    public void setPayFundOrderId(String payFundOrderId) {
        this.payFundOrderId = payFundOrderId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Timestamp getTransDate() {
        return transDate;
    }

    public void setTransDate(Timestamp transDate) {
        this.transDate = transDate;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        AlipayCashDTO that = (AlipayCashDTO) o;
        return id == that.id &&
                userUid == that.userUid &&
                Objects.equals(alipayUserId, that.alipayUserId) &&
                Objects.equals(outBizNo, that.outBizNo) &&
                Objects.equals(transAmount, that.transAmount) &&
                Objects.equals(productCode, that.productCode) &&
                Objects.equals(bizScene, that.bizScene) &&
                Objects.equals(identityType, that.identityType) &&
                Objects.equals(identity, that.identity) &&
                Objects.equals(name, that.name) &&
                Objects.equals(orderTitle, that.orderTitle) &&
                Objects.equals(remark, that.remark) &&
                Objects.equals(businessParams, that.businessParams) &&
                Objects.equals(createDate, that.createDate) &&
                Objects.equals(orderId, that.orderId) &&
                Objects.equals(payFundOrderId, that.payFundOrderId) &&
                Objects.equals(status, that.status) &&
                Objects.equals(transDate, that.transDate);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id, alipayUserId, userUid, outBizNo, transAmount, productCode, bizScene, identityType, identity, name, orderTitle, remark, businessParams, createDate, orderId, payFundOrderId, status, transDate);
    }
}
